#设计一个类
class Student:
    name = None
    gender = None
    nationality = None
    native_place = None
    age = None

#创建一个对象
student = Student()

#给类赋值
student.name = '林彪'
student.gender = '男'
student.nationality = '中国'
student.native_place = '安徽'
student.age = 18

#打印
print(student.name)
print(student.gender)
print(student.nationality)
print(student.native_place)
print(student.age)